<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{hrEmpBean.id}"/>
		<f:event type="preRenderView" listener="#{hrEmpBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Hr Emp"/>

	<ui:define name="header">
		Hr Emp
	</ui:define>

	<ui:define name="subheader">
		View existing Hr Emp
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="hrEmpBeanHrEmpEmpNo" value="Emp No:"/>
			<h:outputText id="hrEmpBeanHrEmpEmpNo" value="#{hrEmpBean.hrEmp.empNo}"/>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpHrEmpStatus" value="Hr Emp Status:"/>
			<h:link id="hrEmpBeanHrEmpHrEmpStatus" outcome="/hrEmpStatus/view" value="#{hrEmpBean.hrEmp.hrEmpStatus}">
				<f:param name="id" value="#{hrEmpBean.hrEmp.hrEmpStatus.empStatusNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpSysTitleName" value="Sys Title Name:"/>
			<h:link id="hrEmpBeanHrEmpSysTitleName" outcome="/sysTitleName/view" value="#{hrEmpBean.hrEmp.sysTitleName}">
				<f:param name="id" value="#{hrEmpBean.hrEmp.sysTitleName.titleNameNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpEmpCode" value="Emp Code:"/>
			<h:outputText id="hrEmpBeanHrEmpEmpCode" value="#{hrEmpBean.hrEmp.empCode}"/>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpEmpFirstName" value="Emp First Name:"/>
			<h:outputText id="hrEmpBeanHrEmpEmpFirstName" value="#{hrEmpBean.hrEmp.empFirstName}"/>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpEmpLastName" value="Emp Last Name:"/>
			<h:outputText id="hrEmpBeanHrEmpEmpLastName" value="#{hrEmpBean.hrEmp.empLastName}"/>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpEmpIdCardNo" value="Emp Id Card No:"/>
			<h:outputText id="hrEmpBeanHrEmpEmpIdCardNo" value="#{hrEmpBean.hrEmp.empIdCardNo}"/>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpEmpSex" value="Emp Sex:"/>
			<h:outputText id="hrEmpBeanHrEmpEmpSex" value="#{hrEmpBean.hrEmp.empSex}"/>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpHrEmpAddrs" value="Hr Emp Addrs:"/>
			<h:dataTable id="hrEmpBeanHrEmpHrEmpAddrs" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.hrEmpAddrs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr 01"/>
					</f:facet>
					<h:link outcome="/hrEmpAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddr01" value="#{forgeview:display(_item.sysAddr01)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Addr Type"/>
					</f:facet>
					<h:link outcome="/hrEmpAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysAddrType" value="#{forgeview:display(_item.sysAddrType)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Emp Addr No"/>
					</f:facet>
					<h:link outcome="/hrEmpAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemEmpAddrNo" value="#{_item.empAddrNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Emp Addr Moo"/>
					</f:facet>
					<h:link outcome="/hrEmpAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemEmpAddrMoo" value="#{_item.empAddrMoo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Emp Addr Soi"/>
					</f:facet>
					<h:link outcome="/hrEmpAddr/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemEmpAddrSoi" value="#{_item.empAddrSoi}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpFaJournals" value="Fa Journals:"/>
			<h:dataTable id="hrEmpBeanHrEmpFaJournals" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.faJournals)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Jn No"/>
					</f:facet>
					<h:link outcome="/faJournal/view">
						<f:param name="id" value="#{_item.jnNo}"/>
						<h:outputText id="itemJnNo" value="#{_item.jnNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Jn Amt"/>
					</f:facet>
					<h:link outcome="/faJournal/view">
						<f:param name="id" value="#{_item.jnNo}"/>
						<h:outputText id="itemJnAmt" value="#{_item.jnAmt}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpWfFlowTransLines" value="Wf Flow Trans Lines:"/>
			<h:dataTable id="hrEmpBeanHrEmpWfFlowTransLines" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.wfFlowTransLines)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Wf Flow Trans"/>
					</f:facet>
					<h:link outcome="/wfFlowTransLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemWfFlowTrans" value="#{forgeview:display(_item.wfFlowTrans)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Wf Job Master"/>
					</f:facet>
					<h:link outcome="/wfFlowTransLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemWfJobMaster" value="#{forgeview:display(_item.wfJobMaster)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Wf Flow Status"/>
					</f:facet>
					<h:link outcome="/wfFlowTransLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemWfFlowStatus" value="#{forgeview:display(_item.wfFlowStatus)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Wf Workstation"/>
					</f:facet>
					<h:link outcome="/wfFlowTransLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemWfWorkstation" value="#{forgeview:display(_item.wfWorkstation)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Ft Flow Seq No"/>
					</f:facet>
					<h:link outcome="/wfFlowTransLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemFtFlowSeqNo" value="#{_item.ftFlowSeqNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpFaGlTranses" value="Fa Gl Transes:"/>
			<h:dataTable id="hrEmpBeanHrEmpFaGlTranses" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.faGlTranses)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Gl No"/>
					</f:facet>
					<h:link outcome="/faGlTrans/view">
						<f:param name="id" value="#{_item.glNo}"/>
						<h:outputText id="itemGlNo" value="#{_item.glNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Gl Dr Amt"/>
					</f:facet>
					<h:link outcome="/faGlTrans/view">
						<f:param name="id" value="#{_item.glNo}"/>
						<h:outputText id="itemGlDrAmt" value="#{_item.glDrAmt}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Gl Cr Amt"/>
					</f:facet>
					<h:link outcome="/faGlTrans/view">
						<f:param name="id" value="#{_item.glNo}"/>
						<h:outputText id="itemGlCrAmt" value="#{_item.glCrAmt}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Gl Status Dr Cr"/>
					</f:facet>
					<h:link outcome="/faGlTrans/view">
						<f:param name="id" value="#{_item.glNo}"/>
						<h:outputText id="itemGlStatusDrCr" value="#{_item.glStatusDrCr}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Gl Status Is Close"/>
					</f:facet>
					<h:link outcome="/faGlTrans/view">
						<f:param name="id" value="#{_item.glNo}"/>
						<h:outputText id="itemGlStatusIsClose" value="#{_item.glStatusIsClose}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpPcPurchaseReceiptsForRcptReceiptByEmpNo" value="Pc Purchase Receipts For Rcpt Receipt By Emp No:"/>
			<h:dataTable id="hrEmpBeanHrEmpPcPurchaseReceiptsForRcptReceiptByEmpNo" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.pcPurchaseReceiptsForRcptReceiptByEmpNo)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt No"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceipt/view">
						<f:param name="id" value="#{_item.rcptNo}"/>
						<h:outputText id="itemRcptNo" value="#{_item.rcptNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Code"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceipt/view">
						<f:param name="id" value="#{_item.rcptNo}"/>
						<h:outputText id="itemRcptCode" value="#{_item.rcptCode}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Descr"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceipt/view">
						<f:param name="id" value="#{_item.rcptNo}"/>
						<h:outputText id="itemRcptDescr" value="#{_item.rcptDescr}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Date"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceipt/view">
						<f:param name="id" value="#{_item.rcptNo}"/>
						<h:outputText id="itemRcptDate" value="#{_item.rcptDate}">
							<f:convertDateTime type="date"/>
						</h:outputText>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Vat Perc Val"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceipt/view">
						<f:param name="id" value="#{_item.rcptNo}"/>
						<h:outputText id="itemRcptVatPercVal" value="#{_item.rcptVatPercVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpPcPurchaseReceiptsForRcptCreatedByEmpNo" value="Pc Purchase Receipts For Rcpt Created By Emp No:"/>
			<h:dataTable id="hrEmpBeanHrEmpPcPurchaseReceiptsForRcptCreatedByEmpNo" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.pcPurchaseReceiptsForRcptCreatedByEmpNo)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt No"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceipt/view">
						<f:param name="id" value="#{_item.rcptNo}"/>
						<h:outputText id="itemRcptNo" value="#{_item.rcptNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Code"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceipt/view">
						<f:param name="id" value="#{_item.rcptNo}"/>
						<h:outputText id="itemRcptCode" value="#{_item.rcptCode}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Descr"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceipt/view">
						<f:param name="id" value="#{_item.rcptNo}"/>
						<h:outputText id="itemRcptDescr" value="#{_item.rcptDescr}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Date"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceipt/view">
						<f:param name="id" value="#{_item.rcptNo}"/>
						<h:outputText id="itemRcptDate" value="#{_item.rcptDate}">
							<f:convertDateTime type="date"/>
						</h:outputText>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Rcpt Vat Perc Val"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReceipt/view">
						<f:param name="id" value="#{_item.rcptNo}"/>
						<h:outputText id="itemRcptVatPercVal" value="#{_item.rcptVatPercVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpWfFlowTranses" value="Wf Flow Transes:"/>
			<h:dataTable id="hrEmpBeanHrEmpWfFlowTranses" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.wfFlowTranses)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Ft No"/>
					</f:facet>
					<h:link outcome="/wfFlowTrans/view">
						<f:param name="id" value="#{_item.ftNo}"/>
						<h:outputText id="itemFtNo" value="#{_item.ftNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpPcPurchaseReqs" value="Pc Purchase Reqs:"/>
			<h:dataTable id="hrEmpBeanHrEmpPcPurchaseReqs" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.pcPurchaseReqs)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pr No"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReq/view">
						<f:param name="id" value="#{_item.prNo}"/>
						<h:outputText id="itemPrNo" value="#{_item.prNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pr Code"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReq/view">
						<f:param name="id" value="#{_item.prNo}"/>
						<h:outputText id="itemPrCode" value="#{_item.prCode}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pr Descr"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReq/view">
						<f:param name="id" value="#{_item.prNo}"/>
						<h:outputText id="itemPrDescr" value="#{_item.prDescr}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pr Date"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReq/view">
						<f:param name="id" value="#{_item.prNo}"/>
						<h:outputText id="itemPrDate" value="#{_item.prDate}">
							<f:convertDateTime type="date"/>
						</h:outputText>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pr Discount Perc"/>
					</f:facet>
					<h:link outcome="/pcPurchaseReq/view">
						<f:param name="id" value="#{_item.prNo}"/>
						<h:outputText id="itemPrDiscountPerc" value="#{_item.prDiscountPerc}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpPcPurchaseOrders" value="Pc Purchase Orders:"/>
			<h:dataTable id="hrEmpBeanHrEmpPcPurchaseOrders" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.pcPurchaseOrders)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po No"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrder/view">
						<f:param name="id" value="#{_item.poNo}"/>
						<h:outputText id="itemPoNo" value="#{_item.poNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Code"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrder/view">
						<f:param name="id" value="#{_item.poNo}"/>
						<h:outputText id="itemPoCode" value="#{_item.poCode}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Descr"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrder/view">
						<f:param name="id" value="#{_item.poNo}"/>
						<h:outputText id="itemPoDescr" value="#{_item.poDescr}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Date"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrder/view">
						<f:param name="id" value="#{_item.poNo}"/>
						<h:outputText id="itemPoDate" value="#{_item.poDate}">
							<f:convertDateTime type="date"/>
						</h:outputText>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Po Discount Perc"/>
					</f:facet>
					<h:link outcome="/pcPurchaseOrder/view">
						<f:param name="id" value="#{_item.poNo}"/>
						<h:outputText id="itemPoDiscountPerc" value="#{_item.poDiscountPerc}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpSysCompanyNewses" value="Sys Company Newses:"/>
			<h:dataTable id="hrEmpBeanHrEmpSysCompanyNewses" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.sysCompanyNewses)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Com News No"/>
					</f:facet>
					<h:link outcome="/sysCompanyNews/view">
						<f:param name="id" value="#{_item.comNewsNo}"/>
						<h:outputText id="itemComNewsNo" value="#{_item.comNewsNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpWfFlowMasters" value="Wf Flow Masters:"/>
			<h:dataTable id="hrEmpBeanHrEmpWfFlowMasters" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.wfFlowMasters)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Fm No"/>
					</f:facet>
					<h:link outcome="/wfFlowMaster/view">
						<f:param name="id" value="#{_item.fmNo}"/>
						<h:outputText id="itemFmNo" value="#{_item.fmNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpWfJobMasters" value="Wf Job Masters:"/>
			<h:dataTable id="hrEmpBeanHrEmpWfJobMasters" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.wfJobMasters)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Jm No"/>
					</f:facet>
					<h:link outcome="/wfJobMaster/view">
						<f:param name="id" value="#{_item.jmNo}"/>
						<h:outputText id="itemJmNo" value="#{_item.jmNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="hrEmpBeanHrEmpSysUserAccounts" value="Sys User Accounts:"/>
			<h:dataTable id="hrEmpBeanHrEmpSysUserAccounts" styleClass="data-table" value="#{forgeview:asList(hrEmpBean.hrEmp.sysUserAccounts)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="User No"/>
					</f:facet>
					<h:link outcome="/sysUserAccount/view">
						<f:param name="id" value="#{_item.userNo}"/>
						<h:outputText id="itemUserNo" value="#{_item.userNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>